#pragma once

#include "std_libs.h"
#include "Token.h"
#include "Tag.h"
#include "Num.h"
#include "Word.h"
#include "utils.h"

using namespace zhj_complier;

class Lexer
{
	public:
		Lexer();
		~Lexer();
		void reserve(Word t);
		Token* scan();
		int line;
		istream * in;
		
	private:
		char peek;
		map<string,Token> words;
		void getNextPeek();

};
